#app,
body,
html {
  height: 100%;
}
body {
  background-color: @background-color-base;
  font-size: 14px;
}

// 隐藏滚动条样式
.i-scrollbar-hide {
  &::-webkit-scrollbar {
    width: 0;
  }
  &::-webkit-scrollbar-track {
    background-color: transparent;
  }
  &::-webkit-scrollbar-thumb {
    background: #e8eaec;
  }
}

// 极简滚动条样式
.i-scrollbar {
  &::-webkit-scrollbar {
    width: 6px;
  }
  &::-webkit-scrollbar-track {
    background-color: transparent;
  }
  &::-webkit-scrollbar-thumb {
    background: #808695;
    border-radius: 4px;
  }
}

// 去除 Table 的左右边框，更精简
.i-table-no-border {
  .ivu-table th {
    background-color: #fff;
  }
  .ivu-table-wrapper,
  .ivu-table tr:last-child td {
    border: none;
  }
  .ivu-table:before,
  .ivu-table:after {
    display: none;
  }
}

// jiangcj 新增样式

.pls-add-image-new {
  width: 200px;
  height: 200px;
  border: 1px dashed currentColor;
  color: #6af;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 18px;
  margin-bottom: 15px;
  cursor: pointer;
  &.size-134 {
    width: 134px;
    height: 134px;
  }
}

.iai-add-image__list {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  height: 110px;
  padding: 14px 16px 24px 16px;
  background-color: #f5f5f5;
  margin-top: 12px;
}
.iai-add-image__selectbar-item {
  flex: 0 0 72px;
  height: 72px;
  position: relative;
  & + .iai-add-image__selectbar-item {
    margin-left: 16px;
  }
  border: transparent solid 2px;
  position: relative;
  &.selected {
    border-color: #6af;
  }
}
.iai-add-image__selectbar-item-cover {
  width: 100%;
  height: 100%;
  img {
    max-width: 100%;
    max-height: 100%;
    opacity: 1;
    vertical-align: middle;
  }
}
.iai-add-image__delete {
  position: absolute;
  font-size: 16px;
  top: -8px;
  right: -8px;
  width: 16px;
  height: 16px;
  display: flex;
  background-color: #000;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}
.ice-add-image-dialog-new__footer {
  padding: 12px 0 0;
  border-top: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ice-anchor-item {
  position: absolute;
  color: #fff;
  font-size: 12px;
  z-index: 10;
  cursor: pointer;
}
.ice-anchor-item-left {
  padding-left: 20px;
  // transform: translate(-5px, -11px);
  .ice-anchor-item-arrow {
    left: 12px;
    transform: rotate(180deg);
  }
  .ice-anchor-item-dot {
    left: 0;
  }
  .ice-anchor-item-title {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
}

.ice-anchor-item-right {
  padding-right: 20px;
  // transform: translate(5px, -11px);
  .ice-anchor-item-arrow {
    right: 12px;
  }
  .ice-anchor-item-dot {
    right: 0;
  }
  .ice-anchor-item-title {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
}

.ice-anchor-item-dot {
  animation: animationFrames linear 0.6s infinite;
  position: absolute;
  top: 6px;
  width: 9px;
  height: 9px;
  line-height: 0;
  background-color: #ff812a;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.ice-anchor-item-arrow {
  position: absolute;
  top: 0;
  width: 8px;
  height: 22px;
  background: url('')
    no-repeat center;
  background-size: 8px 22px;
}

.ice-anchor-item-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 0 6px;
  line-height: 22px;
  height: 22px;
  background-color: rgba(0, 0, 0, 0.6);
}

.pls-form-item-tips {
  margin-top: 10px;
  font-size: 12px;
  color: #999;
}

.ice-layout-main {
  width: 100%;
  margin: 0 auto;
}

.tabs-bar {
  height: 60px;
  background-color: #fff;
  .ivu-tabs-bar {
    border-bottom: none;
    margin-bottom: 0;
    .ivu-tabs-tab {
      padding-bottom: 18px;
    }
  }
  .ivu-tabs-ink-bar {
    height: 3px;
  }
}

.tabs-bar--inner {
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.section {
  padding: 20px;
  background-color: #fff;
  margin-top: 20px;
}

.material-search-add {
  display: flex;
}

.material-add {
  margin-left: 12px;
}

.material-list {
  display: flex;
  flex-wrap: wrap;
  margin: -20px 0 0 -20px;
}

@keyframes animationFrames {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.5;
  }
}
